/*
********************************************************************************
* Copyright (C) 2022, xiang.D <dx_65535@163.com>.
* All right reserved.
*
* File Name   : part_sound_card.h
* Author      :
* Version     : V1.0
* Description :
* Journal     : 2022-03-06 version v1.0
* Brief       : Blog: https://blog.csdn.net/qq_38750572?spm=1001.2014.3001.5343
* Others      :
                Compile command: make
********************************************************************************
*/
#ifndef __PART_SOUND_CARD_H__
#define __PART_SOUND_CARD_H__

#include "compute_part_base.h"

class CPartSoundCard : public CComputePartBase
{
public:
    explicit CPartSoundCard(std::string name, int driver, int function);

    ~CPartSoundCard();

    std::string GetName();

    int CheckDriver();

    int CheckFunction();

    void Accept(CVisitorBase *visitor);

private:
    std::string mName;
    int mDriver;
    int mFunction;
};

#endif

